﻿using MediatR;
using WeekExam.PassPort.ErrorCode;

namespace HealthcareSystem.API.Write.Application.Command.EquipmentCommand
{
    /// <summary>
    /// 设备添加请求处理
    /// </summary>
    public class EquipmentCreateCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 设备品牌
        /// </summary>
        public string? EquipmentBrand { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string? EquipmentName { get; set; }
        /// <summary>
        /// 设备编码
        /// </summary>
        public string? EquipmentCoding { get; set; }
        /// <summary>
        /// 设备型号
        /// </summary>
        public string? EquipmentType { get; set; }
        /// <summary>
        /// 设备SN号
        /// </summary>
        public string? EquipmentSNnum { get; set; }
        /// <summary>
        ///设备状态
        /// </summary>
        public bool EquipmentStatus { get; set; }
        /// <summary>
        /// 逻辑删除列
        /// </summary>
        public bool IsDelete { get; set; }
        /// <summary>
        /// 设备创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }
    }
}
